home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / vol15n10.zip / MULTIL.ZIP / MLSRC.ZIP / MSDEV / PROJECTS / MLAUNCH / MLPAGE.H < prev    next >
C/C++ Source or Header  |  1996-04-05  |  1KB  |  60 lines

  1. // MLPage.h : header file
  2. //
  3.  
  4. #include "Registry.h"
  5.  
  6. /////////////////////////////////////////////////////////////////////////////
  7. // CMLPage dialog
  8.  
  9. // Forward references
  10. class CRegistryKey;
  11.  
  12. class CMLPage : public CPropertyPage
  13. {
  14.     DECLARE_DYNCREATE(CMLPage)
  15.  
  16. // Construction
  17. public:
  18.     CMLPage();
  19.     ~CMLPage();
  20.  
  21.     // Member functions
  22.     void SetFilename(LPCSTR);
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CMLPage)
  26.     enum { IDD = IDD_MLPAGE };
  27.     CListBox    m_ListBox;
  28.     //}}AFX_DATA
  29.  
  30.  
  31. // Overrides
  32.     // ClassWizard generate virtual function overrides
  33.     //{{AFX_VIRTUAL(CMLPage)
  34.     public:
  35.     virtual void OnCancel();
  36.     protected:
  37.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  38.     //}}AFX_VIRTUAL
  39.     
  40.     virtual OnInitDialog();
  41.  
  42. // Implementation
  43. protected:
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CMLPage)
  46.     afx_msg void OnAdd();
  47.     afx_msg void OnDelete();
  48.     afx_msg void OnAboutbox();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51.  
  52. private:
  53.     CString strFilename;        // filename passed from the shell
  54.     CRegistryKey* pRegistryKey;
  55.  
  56.     // Flags to indicate that we're already displaying one of these dialogs!
  57.     BOOL m_bOpenDialog;
  58.     BOOL m_bAboutDialog;
  59. };
  60.